package cn.netbox.spring.service.impl;

import cn.netbox.spring.service.MyService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * description:
 * date: 2021/12/1 15:28
 * author: Alex
 * version: 1.0
 */
@Service("myService")
public class MyServiceImpl implements MyService {
    @Override
    public void bookRoom() {
        System.out.println("查询剩余房数");
    }

    @Override
    public void pay() {
       System.out.println("付款");
    }
}
